package com.sls.mall.order.feign;

import com.sls.mall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("mall-cart")
public interface CartFeignService {

    /**
     * 获取当前用户购物车数据
     * @return
     */
    @GetMapping("/currentCartItems")
    List<OrderItemVo> getCurrentCartItems();
}
